﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterStreet.Core.Domain
{
    /// <summary>
    /// 고객
    /// </summary>
    public class Customer
    {
        public virtual string ID { get; set; }
        public virtual string Name { get; set; }
        public virtual string Phone { get; set; }
        public virtual Address CustAddress { get; set; }
        public virtual string Email { get; set; }
        public virtual string Password { get; set; }
    }

    /// <summary>
    /// 일반 고객
    /// </summary>
    public class NomalCustomer : Customer
    {

    }

    /// <summary>
    /// 기업 고객
    /// </summary>
    public class CompanyCustomer : Customer
    {
        public virtual string ApprovalCode { get; set; }
    }

    /// <summary>
    /// 주소
    /// </summary>
    public class Address
    {
        public virtual string ZipCode { get; set; }
        public virtual string Addr { get; set; }
        public virtual string AddrDetail { get; set; }
    }
}
